From: Jasper St. Pierre Date: Sat, 9 Feb 2013 03:46:31 +0000 (-0500) Subject: app-system: Remove last real use of shell_app_get_tree_entry X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~4195 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=c72ae375c83834ad11b45466b3647e56a8b656dd;p=gnome-shell.git app-system: Remove last real use of shell_app_get_tree_entry We want to replace our GMenuTreeEntries with GDesktopAppInfos https://bugzilla.gnome.org/show_bug.cgi?id=698486 --- diff --git a/src/shell-app-system.c b/src/shell-app-system.c index 03648f9e1..6a96e0ca8 100644 --- a/src/shell-app-system.c +++ b/src/shell-app-system.c @@ -471,7 +471,7 @@ shell_app_system_lookup_app_for_path (ShellAppSystem *system, if (!app) return NULL; - app_path = gmenu_tree_entry_get_desktop_file_path (shell_app_get_tree_entry (app)); + app_path = g_desktop_app_info_get_filename (shell_app_get_app_info (app)); if (strcmp (desktop_path, app_path) != 0) return NULL;